package top.tangyh.lamp.care.service.impl;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import top.tangyh.lamp.care.mapper.BHl7EventMapper;
import top.tangyh.lamp.care.service.BHl7EventService;
import top.tangyh.basic.base.service.impl.SuperServiceImpl;
import top.tangyh.lamp.care.manager.BHl7EventManager;
import top.tangyh.lamp.care.entity.BHl7Event;
import top.tangyh.lamp.care.vo.save.BHl7EventSaveVO;
import top.tangyh.lamp.care.vo.update.BHl7EventUpdateVO;
import top.tangyh.lamp.care.vo.result.BHl7EventResultVO;
import top.tangyh.lamp.care.vo.query.BHl7EventPageQuery;

/**
 * <p>
 * 业务实现类
 * Hl7病人事件表
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 14:36:35
 * @create [2024-07-15 14:36:35] [zqb] [代码生成器生成]
 */
@Slf4j
@RequiredArgsConstructor
@Service
@Transactional(readOnly = true)
public class BHl7EventServiceImpl extends SuperServiceImpl<BHl7EventManager, Long, BHl7Event> implements BHl7EventService {

    private final BHl7EventMapper bHl7EventMapper;
    @Override
    public BHl7Event selectOneByEventTypeHospitalNumber(Integer eventType, String hospitalNumber) {
        return bHl7EventMapper.selectOneByEventTypeHospitalNumber(eventType,hospitalNumber);
    }

}


